package cn.jingdalei.org.mapper;

import cn.jingdalei.basic.mapper.BaseMapper;
import cn.jingdalei.org.domain.Department;
import cn.jingdalei.org.domain.Employee;
import cn.jingdalei.org.query.EmployeeQuery;

import java.util.List;

public interface EmployeeMapper extends BaseMapper<Employee> {

    // 1. 基础的CRUD通过继承实现
    // 2. 扩展的功能自己单独写

    // 用户校验
    Employee getByUser(String username);
}
